<?php

namespace DAO\Comment;

/**
 * 评论数据层
 */
class CommentModel extends \DAO\AbstractModel {

    /**
     * 类实例
     * 
     * @var \DAO\Comment\CommentModel
     */
    private static $_instance = null;

    /**
     * 获取类实例
     * 
     * @return \DAO\Comment\CommentModel
     */
    public static function getInstance() {
        if (!(self::$_instance instanceof self)) {
            self::$_instance = new self();
        }

        return self::$_instance;
    }

}
